package com.cskaoyan.service;

import com.cskaoyan.bean.CskaoyanmallAd;
import com.cskaoyan.bean.CskaoyanmallAdExample;
import com.cskaoyan.vo.AdVo;

import java.util.List;

public interface CskaoyanmallAdService{


    int delete(CskaoyanmallAd cskaoyanmallAd);


    long countByExample(CskaoyanmallAdExample example);

    int deleteByExample(CskaoyanmallAdExample example);

    int insert(CskaoyanmallAd record);

    int insertSelective(CskaoyanmallAd record);

    List<CskaoyanmallAd> selectByExample(CskaoyanmallAdExample example);

    CskaoyanmallAd selectByPrimaryKey(Integer id);

    int updateByExampleSelective(CskaoyanmallAd record, CskaoyanmallAdExample example);

    int updateByExample(CskaoyanmallAd record, CskaoyanmallAdExample example);

    int updateByPrimaryKeySelective(CskaoyanmallAd record);

    int updateByPrimaryKey(CskaoyanmallAd record);

    AdVo query(Integer page, Integer limit, String name, String content, String sort, String order);
}
